package io.github.talelin.latticy.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Setter
@Getter
@Table(name = "lin_user")
@Where(clause = "delete_time is null")
public class SimpleUser extends BaseEntity{
    @Id
    private Long id;
    private String nickname;
    private String avatar;
    private String name;
}
